package com.neusoft.neuiotms.dcvm.task.cmdbSyn.respository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcvm.task.cmdbSyn.model.RackUnitUsage;

public interface RackUnitUsageRepository extends JpaRepository<RackUnitUsage, Long> {
    List<RackUnitUsage> findByRackCode(String rackCode);

    void deleteByRackCode(String rackCode);

    List<RackUnitUsage> findByRackCodeIn(List<String> rackCodes);
}
